# coding=UTF-8

import image_handler
import calculate


if __name__ == "__main__":
    image_path = '/home/hx-pc/图片/word1.png'
    img = image_handler.init_img_array(image_path)
    horizontal_array = image_handler.ImageHandler.get_img_horizontal_array(img, 222)
    vertical_array = image_handler.ImageHandler.get_img_vertical_array(img, 222)
    calculate.calculate(img, horizontal_array, vertical_array, 13)
